package cn.iocoder.yudao.module.system.convert.scoreassignment;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.system.controller.admin.scoreassignment.vo.*;
import cn.iocoder.yudao.module.system.dal.dataobject.scoreassignment.ScoreAssignmentRuleDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 赋分规则配置 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface ScoreAssignmentRuleConvert {

    ScoreAssignmentRuleConvert INSTANCE = Mappers.getMapper(ScoreAssignmentRuleConvert.class);

    ScoreAssignmentRuleDO convert(ScoreAssignmentRuleCreateReqVO bean);

    ScoreAssignmentRuleDO convert(ScoreAssignmentRuleUpdateReqVO bean);

    ScoreAssignmentRuleRespVO convert(ScoreAssignmentRuleDO bean);

    List<ScoreAssignmentRuleRespVO> convertList(List<ScoreAssignmentRuleDO> list);

    PageResult<ScoreAssignmentRuleRespVO> convertPage(PageResult<ScoreAssignmentRuleDO> page);

    List<ScoreAssignmentRuleExcelVO> convertList02(List<ScoreAssignmentRuleDO> list);

}